/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Forms;

import org.apache.struts.action.ActionForm;
import org.apache.struts.upload.FormFile;

/**
 *
 * @author Antonio
 */
public class UploadForm extends ActionForm {
/**
    * The file that the user has uploaded
    */
        private FormFile theFile;
   
    /**
    * The file path to write to
    */
    protected String filePath;
   
    /**
     * Retrieve a representation of the file the user has uploaded
     */
    public FormFile getTheFile() {
        return theFile;
    }
   
    /**
     * Set a representation of the file the user has uploaded
     */
    public void setTheFile(FormFile theFile) {
        this.theFile = theFile;
    }
}